/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.hk.sys.entity.adv;

import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 分类查询Entity
 * @author 罗天文
 * @version 2018-06-01
 */
public class HkCategoryQuery extends DataEntity<HkCategoryQuery> {
	
	private static final long serialVersionUID = 1L;
	private HkCategory category;		// 分类id
	private String iscategoryquery;		// 分类查询
	private String regionalquery;		// 地区查询
	
	public HkCategoryQuery() {
		super();
	}

	public HkCategoryQuery(String id){
		super(id);
	}
	public HkCategoryQuery(HkCategory category){
		this.category = category;
	}
	public HkCategory getCategory() {
		return category;
	}

	public void setCategory(HkCategory category) {
		this.category = category;
	}
	
	@Length(min=0, max=1, message="分类查询长度必须介于 0 和 1 之间")
	public String getIscategoryquery() {
		return iscategoryquery;
	}

	public void setIscategoryquery(String iscategoryquery) {
		this.iscategoryquery = iscategoryquery;
	}
	
	@Length(min=0, max=1, message="地区查询长度必须介于 0 和 1 之间")
	public String getRegionalquery() {
		return regionalquery;
	}

	public void setRegionalquery(String regionalquery) {
		this.regionalquery = regionalquery;
	}
	
}